cmake_minimum_required(VERSION 3.10)

# set the project name
project(InventoryManagementSystem)

# add the executable
add_executable(InventoryManagementSystem main.c ui/ui.c loop/loop.c table/table.c)

# specify the C standard
set(CMAKE_C_STANDARD 99)

# include directories
include_directories(${PROJECT_SOURCE_DIR}/include)

# utf-8
add_compile_options(-fexec-charset=UTF-8)
add_compile_options(-finput-charset=GBK)
add_compile_options(-fwide-exec-charset=UTF-8)

